package com.liuning.graduationdemo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liuning.graduationdemo.entity.MedicalRecord;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 病历表 服务类
 * </p>
 *
 * @author pumpkin
 * @since 2022-06-05
 */
public interface IMedicalRecordService extends IService<MedicalRecord> {

    Page<MedicalRecord> findPage(Page<MedicalRecord> page, String patientName, String doctorName);

    Page<MedicalRecord> findPersonMedicalRecord(Page<MedicalRecord> page,Integer patientId);
}
